package com.guet.niit.Login.pojo;

import javafx.beans.property.DoubleProperty;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.LongProperty;
import javafx.beans.property.StringProperty;

public class StationPileData {
    private IntegerProperty stationPileId;
    private StringProperty stationName;
    private DoubleProperty servicePower;
    private StringProperty chargingType;
    private DoubleProperty serviceCharge;

    public int getStationPileId() {
        return stationPileId.get();
    }

    public IntegerProperty stationPileIdProperty() {
        return stationPileId;
    }

    public void setStationPileId(int stationPileId) {
        this.stationPileId.set(stationPileId);
    }

    public String getStationName() {
        return stationName.get();
    }

    public StringProperty stationNameProperty() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName.set(stationName);
    }

    public double getServicePower() {
        return servicePower.get();
    }

    public DoubleProperty servicePowerProperty() {
        return servicePower;
    }

    public void setServicePower(double servicePower) {
        this.servicePower.set(servicePower);
    }

    public String getChargingType() {
        return chargingType.get();
    }

    public StringProperty chargingTypeProperty() {
        return chargingType;
    }

    public void setChargingType(String chargingType) {
        this.chargingType.set(chargingType);
    }

    public double getServiceCharge() {
        return serviceCharge.get();
    }

    public DoubleProperty serviceChargeProperty() {
        return serviceCharge;
    }

    public void setServiceCharge(double serviceCharge) {
        this.serviceCharge.set(serviceCharge);
    }

    public StationPileData(IntegerProperty stationPileId, StringProperty stationName, DoubleProperty servicePower, StringProperty chargingType, DoubleProperty serviceCharge) {
        this.stationPileId = stationPileId;
        this.stationName = stationName;
        this.servicePower = servicePower;
        this.chargingType = chargingType;
        this.serviceCharge = serviceCharge;
    }

    public StationPileData() {
    }

    @Override
    public String toString() {
        return "StationPileData{" +
                "stationPileId=" + stationPileId +
                ", stationName=" + stationName +
                ", servicePower=" + servicePower +
                ", chargingType=" + chargingType +
                ", serviceCharge=" + serviceCharge +
                '}';
    }
}
